package org.hilo.boot.scaffold;

import org.hilo.boot.core.UT;


/**
 * 组件脚手架生成器父类
 * 
 * @author zollty
 * @since 2020-5-12
 */
public abstract class AbstractPluginGenerator extends AbstractGenerator implements PluginGenerator {
    protected String newPackagePath;
    protected String starterProjectPath;
    protected String bizProjectPath;

    @Override
    public void config(String groupId, String artifactId, String basePackage,
            boolean separateBizApp, String targetBasePath, String starterProjectPath, String bizProjectPath) {
        this.groupId = groupId;
        this.artifactId = artifactId;
        this.basePackage = basePackage;
        this.separateBizApp = separateBizApp;
        this.targetBasePath = targetBasePath;
        this.newPackagePath = UT.Str.replace(basePackage, ".", "/");
        this.starterProjectPath = starterProjectPath;
        this.bizProjectPath = bizProjectPath;
    }

    @Override
    public String addDevYamlConfig() {
        return null;
    }

    @Override
    public String addParentPomManagementDependency() {
        return null;
    }

    @Override
    public String addStarterPomManagementDependency() {
        return null;
    }

    @Override
    public String addBizPomManagementDependency() {
        return null;
    }
}

